<?php
$tittleText = "购物车(<span id='pay_car_tittle_count'>{$pay_car_count}</span>)";
$tittle_r_text = '完成';
$tittle_r_script = 'pay_car_edit_complete()';
$tittle_l_script = 'act_back()';
require("{$CfgPara->root}/view/tittle_back_bar_blue2.app.v.php");
?>
<?php
if ($pay_car_count > 0) {
    $pay_car_total = 0;
    foreach ($pay_car_list as $pay_car_item) {
        ?>
        <div class="app-pay-car-item">
            <div class="app-content-divider"></div>
            <div class="app-border-top" style="padding: 20px 10px 18px 5px">
                <div style="width: 100%">
                    <div class="app-check-box am-fl"
                         onclick="app_check_box(this)"
                         style="width: 3em; text-align: center; margin-right: .3em">
                        <i class="am-icon-square-o app-gray-color am-icon-fw app-check-box-icon"
                           data-id="<?= $pay_car_item->Id ?>"></i>
                    </div>
                    <b class="app-gray-color"><?= $pay_car_item->Tittle ?></b>
                    <span class="am-fr app-gray-color">￥<?= $pay_car_item->Price ?></span>
                </div>
                <div style="width: 100%; padding: 5px 0 0 3.3em">
                    <span class="app-gray-color"><?= $pay_car_item->ContentText ?></span>
                </div>
            </div>
        </div>

        <?php
    }
    ?>
    <div id="pay_car_dele_ids" data-dele="" class="app-border-top" style="height: 43px"></div>
    <?php
    require("{$CfgPara->root}/view/user_pay_car_dele.app.v.php");
} else {
    $warningText = '您的购物车空啦，赶紧添加吧';
    require("{$CfgPara->root}/view/warning_text.app.v.php");
}
?>
